package com.hpf.lease.web.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hpf.lease.model.bean.ApartmentInfo;
import com.hpf.lease.web.admin.dto.ApartmentSearchSubmitDto;
import com.hpf.lease.web.admin.dto.ApartmentSubmitDto;
import com.hpf.lease.web.admin.vo.ApartmentInfoVo;

/**
* @author GOD
* @description 针对表【apartment_info(公寓信息表)】的数据库操作Service
* @createDate 2024-08-29 15:00:50
*/
public interface ApartmentInfoService extends IService<ApartmentInfo> {

    boolean updateReleaseStatusById(Long id, String status);

    boolean saveOrUpdateInfo(ApartmentSubmitDto submitDto);

    Page<ApartmentInfoVo> getPageItem(ApartmentSearchSubmitDto submitDto);
}
